package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备参数对象 equipmentparameter
 * 
 * @author DL
 * @date 2025-06-30
 */
@Data
public class Equipmentparameter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    @JsonProperty("EquipmentID")
    private String EquipmentID;

    /** 参数码 */
    @JsonProperty("ParameterCode")
    private String ParameterCode;

    /** 参数名 */
    @Excel(name = "参数名")
    @JsonProperty("ParameterName")
    private String ParameterName;

    /** 默认值 */
    @Excel(name = "默认值")
    private String DefaultValue;

    /** 设定值 */
    @Excel(name = "设定值")
    @JsonProperty("SetValue")
    private String SetValue;

    /** 默认为1.修改后为0，写入PLC后改为1 */
    @Excel(name = "默认为1.修改后为0，写入PLC后改为1")
    private Long DownloadRemark;

    /** 默认为0，写入默认值后为1. */
    @Excel(name = "默认为0，写入默认值后为1.")
    private Long DefaultFlag;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("EquipmentID", getEquipmentID())
            .append("ParameterCode", getParameterCode())
            .append("ParameterName", getParameterName())
            .append("DefaultValue", getDefaultValue())
            .append("SetValue", getSetValue())
            .append("DownloadRemark", getDownloadRemark())
            .append("DefaultFlag", getDefaultFlag())
            .toString();
    }
}
